
BIN  		= test

RM 		= rm -f
CC   		= gcc
OBJ  		= test.o
LINKOBJ  = $(OBJ)
CFLAGS 	= $(INCS) -I. -O2

.PHONY: all clean

all: $(BIN)


clean:
	${RM} $(OBJ) $(BIN)

$(BIN): $(OBJ)
	$(CC) $(LINKOBJ) -o test

test.o: mfio.h test.c
	$(CC) -c test.c $(CFLAGS)
